SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE dbo.[DnnProduct_CDS_DisplayPermissionsAdd]
	@PermissionID int,
	@SingleDevice bit,
	@ExpirationDate datetime,
	@Duration bigint
AS
BEGIN
	INSERT INTO [DnnProduct_CDS_DisplayPermissions] (PermissionID, SingleDevice, ExpirationDate, Duration)
	VALUES (@PermissionID, @SingleDevice, @ExpirationDate, @Duration)

	SELECT SCOPE_IDENTITY()
END
GO
